<template>
    <div class="box">
        <header>
            <div class="left">
                <router-link to="/shouye"><span>首页</span></router-link>
                <router-link to="/shequ"><span>社区</span></router-link>  
            </div>
            <div class="right">
                <i class="iconfont icon-zhanghu"></i>
                <i class="iconfont icon-27"></i>
            </div> 
        </header>
        <div class="centent">这是社区</div>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style lang="less" scoped>
 header {
        z-index: 1000;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        background-color: #FFFFFF;
        justify-content: space-between;
        a{text-decoration:none;color:#000;}
        i{
            margin-left: 20px;
            margin-right: 20px;
            font-size: 0.5rem;
            color: #5F6368;
            float:right;
            
        }
        
        
        span {
            font-size: 0.34667rem;
            padding: 0px 10px;
            color: #5F6368;
        }
    }
    .centent{
        text-align: center;
    }
</style>